GXSetViewDeviceAttributes
You can use theGXSetViewDeviceAttributes
function to set or clear the attributes of a view device object.
void GXSetViewDeviceAttributes(gxViewDevice target, gxDeviceAttribute attributes);
- target
- A reference to the view device whose attributes you wish to set.
attributes
- A reference to the view port's attributes.
DESCRIPTION
TheGXSetViewDeviceAttributes
function sets the attributes of the view device object referenced in thetarget
parameter to those specified in theattributes
parameter. If you passgxNoAttributes
for theattributes
parameter, all attributes are cleared.You cannot change the attributes of a view device in the onscreen view group.
ERRORS, WARNINGS, AND NOTICES
Errors invalid_viewDevice_reference parameter_out_of_range (debugging version) viewDevice_access_restricted (debugging version) Notices (debugging version) attributes_already_set SEE ALSO
View device attributes are described in the section "View Device Attributes" on page 7-27.To get a view device's attributes, use the
GXGetViewDeviceAttributes
function, described in the previous section.